package com.yiwan.service;

import com.yiwan.dao.UserDao;
import com.yiwan.entity.User;

public class UserService {
	private UserDao ud;

	public UserService(UserDao ud) {
		super();
		this.ud = ud;
	}

	public String isLogin(User uf) throws Exception{
		String b="";
	    b = ud.isLogin(uf);
		return b;
	}
	
	public boolean isSign(User uf) {
		boolean b = false;
		b = ud.isSign(uf);
		return b;
	}

	public boolean isExit(User uf) {
		boolean b = false;
		b = ud.isExit(uf);
		return b;
	}
	

}
